/* 
 * File:   LoginController.h
 * Author: edwin
 *
 * 
 */
#ifndef LOGINCONTROLLER_H
#define LOGINCONTROLLER_H

 #include <vector>
 #include <iostream>
 #include <fstream>
 #include <sstream>
 #include <string>
 #include <stdlib.h>
 #include "User.h"

using namespace std;

class LoginController
{

private:
	vector<User> user_list;
public:
	LoginController();
	User run();
	void readUserData();
	void writeUserData();
	void showUserData();
	bool validateUser(string, string);

	void addNewUser();
	void editExistingUser();
	void deleteExistingUser();

	void addNewClient();
	void editExistingClient();
	void deleteExistingClient();
	
};

#endif /* LOGINCONTROLLER_H */